﻿<%@ Page Title="Home Page" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true"
    CodeBehind="Default.aspx.cs" Inherits="Dala.Samples._Default" %>

<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
    <div class="grid_24">
        <h2>
            Welcome to Dala!
        </h2>
        <p>
            "Dala" is a bangla word which means "basket". The project is self is like a basket,
            contains lots of different type of project ideas. As of now dala has 2 parts, 1st
            part is a collection of code samples that .net developers used in their production
            and 2nd part is a sample project called "FDRM" , an exclusive project+ code sample
            demonstrates Asp.Net MVC4 with Code first.
        </p>
        <h2>
            Latest Sample Gallery</h2>
        <div class="grid_18">
            <asp:Repeater ID="repSampleItems" runat="server">
                <ItemTemplate>
                    <div class="grid_8 box alpha">
                        <div class="grid_3 alpha">
                            <asp:Image ID="imgCategory" runat="server" ImageUrl='<%# GetImageUrl(Eval("Description").ToString()) %>' Height="50px" />
                        </div>
                        <div class="grid_5 omega">
                            <%# Eval("Title") %>
                            <br />
                            <a href="<%# Eval("url") %>" class="button small green">Go</a>
                        </div>
                    </div>
                </ItemTemplate>
                <AlternatingItemTemplate>
                    <div class="grid_8 box omega">
                        <div class="grid_3 alpha">
                            <asp:Image ID="imgCategory" runat="server" ImageUrl='<%# GetImageUrl(Eval("Description").ToString()) %>' Height="50px" />
                        </div>
                        <div class="grid_5 omega">
                            <%# Eval("Title") %>
                            <br />
                            <a href="<%# Eval("url") %>" class="button small green">Go</a>
                        </div>
                    </div>
                </AlternatingItemTemplate>
                
            </asp:Repeater>
        </div>
    </div>
</asp:Content>
